package com.service;

import com.javabean.Cart;
import com.javabean.Order;
import com.javabean.OrderItem;

import java.util.List;

public interface OrderService {

    public String createOrder(Cart cart, Integer userId);

    public List<Order> showAllOrders();

    public int sendOrder(String orderid);

    public List<OrderItem> showOrderDetail(String orderid);

    public List<Order> showMyOrders(Integer userid);

    public int receiveOrder(String orderid);

}

